.PHONY:all

all:mythread get_ticket
get_ticket:get_ticket.c
	gcc -o $@ $^ -lpthread
mythread:mythread.c
	gcc -o $@ $^ -lpthread

.PHONY:clean
clean:
	rm mythread get_ticket
